package com.lap.context.starter.autoconfigure;

import com.lap.context.starter.core.interceptor.FeignInterceptor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@Slf4j
@AutoConfiguration
public class FeignAutoConfiguration {

  @Bean
  FeignInterceptor feignInterceptor() {
    log.info("Initializer context Lap feign Interceptor");
    return new FeignInterceptor();
  }
}
